package com.meilai.project.entity.system;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.core.bean.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 点位类型-规格-价格
 * </p>
 *
 * @author haiYangX
 * @since 2022-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("media_type_spec_price")
@ApiModel(value = "MediaTypeSpecPrice对象", description = "点位类型-规格-价格")
public class MediaTypeSpecPrice extends SuperEntity {

    @ApiModelProperty(value = "点位类型规格id")
    private Long media_type_spec_id;

    @ApiModelProperty(value = "时长（秒）")
    private Integer duration;

    @ApiModelProperty(value = "次数")
    private Integer times;

    @ApiModelProperty(value = "刊例价（天）")
    private BigDecimal price_day;

    @ApiModelProperty(value = "刊例价（周）")
    private BigDecimal price_week;

    @ApiModelProperty(value = "刊例价（月）")
    private BigDecimal price_month;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty("媒体类型Id")
    @TableField(exist = false)
    private Long media_type_id;
}
